#include "my_head.h"

void UserDestory(p_user_node * head)
{
    if(*head==NULL)
    {
        printf("error\n");
        return ;
    }
    p_user_node free_node=*head;
    while(free_node!=NULL)
    {
        *head=(*head)->next;
        free(free_node);
        free_node=*head;
    }
    *head=NULL;
}